package com.dream.song.springevent.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author song_
 * @Date 2020/3/16
 * @desc
 **/
public class DemoEvent extends ApplicationEvent {

    private String message ;

    public DemoEvent(Object source, String message) {
        super(source);
        this.message = message ;
    }

    public String getMessage(){
        return message ;
    }


}
